<div class="generalWrap">
	<h1 class="headingTitle"><?php echo $heading_title ?></h1>
	<p class="button"><?php echo anchor('photo', 'Back', 'class="aButton"') ?></p>
	
	<div class="contentWrap">
		<?php echo form_open() ?>
		<table>
			<tr>
				<td width="150" valign="top"><?php echo form_label('Name:', 'name') ?></td>
				<td>
					<?php echo @form_input(array('name' => 'name', 'id' => 'name', 'size' => '30', 'value' => set_value('name', $album['name']))) ?>
					<?php echo form_error('name') ?>
				</td>
			</tr>
			<tr>
				<td width="150" valign="top"><?php echo form_label('Description:', 'desc') ?></td>
				<td>
					<?php echo @form_input(array('name' => 'desc', 'id' => 'desc', 'size' => '60', 'value' => set_value('desc', $album['description']))) ?>
					<?php echo form_error('desc') ?>
				</td>
			</tr>
			<tr>
				<td valign="top">&nbsp;</td>
				<td><?php echo form_submit('btnSave', 'Save') ?></td>
			</tr>
		</table>
		<?php echo form_close() ?>
	</div>
</div>